.class Lcom/estrongs/android/taskmanager/cg;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/preference/Preference$OnPreferenceClickListener;


# instance fields
.field final synthetic a:Lcom/estrongs/android/taskmanager/HomePreferencesActivity;


# direct methods
.method constructor <init>(Lcom/estrongs/android/taskmanager/HomePreferencesActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/estrongs/android/taskmanager/cg;->a:Lcom/estrongs/android/taskmanager/HomePreferencesActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onPreferenceClick(Landroid/preference/Preference;)Z
    .locals 4

    const/4 v3, 0x1

    const-string v0, "http://www.estrongs.com/faqs.html"

    invoke-static {v0}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v0

    new-instance v1, Landroid/content/Intent;

    const-string v2, "android.intent.action.VIEW"

    invoke-direct {v1, v2, v0}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

    :try_start_0
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/cg;->a:Lcom/estrongs/android/taskmanager/HomePreferencesActivity;

    invoke-virtual {v0, v1}, Lcom/estrongs/android/taskmanager/HomePreferencesActivity;->startActivity(Landroid/content/Intent;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    return v3

    :catch_0
    move-exception v0

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/cg;->a:Lcom/estrongs/android/taskmanager/HomePreferencesActivity;

    const v1, 0x7f07007b

    invoke-static {v0, v1, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_0
.end method
